▍ humdrum codex / soft
1.4 KB raw
id
TASK-033
title
TUI: Auto-select dark/light theme based on macOS appearance
status
To Do
assignee
created_date
2026-06-12 04:21
labels
tui, enhancement
dependencies
TASK-021
priority
low
ordinal
33000

Description

On startup, detect macOS Dark Mode and choose the matching theme variant automatically, rather than always defaulting to flexoki.

Detection:

import subprocess
result = subprocess.run(
    ["defaults", "read", "-g", "AppleInterfaceStyle"],
    capture_output=True, text=True
)
is_dark = result.returncode == 0 and "Dark" in result.stdout

Startup behavior:

Acceptance Criteria